package com.iqiyi.pps.epg.core.service.log;

import com.iqiyi.pps.epg.core.dao.base.Page;
import com.iqiyi.pps.epg.core.dao.base.PropertyFilter;
import com.iqiyi.pps.epg.core.dao.log.ErrorLogDao;
import com.iqiyi.pps.epg.core.model.log.ErrorLog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class ErrorLogServiceImpl implements ErrorLogService {
    @Autowired
    private ErrorLogDao errorLogDao;


    @Override
    public Page<ErrorLog> getPageList(Page<ErrorLog> page, List<PropertyFilter> filters) {
        return errorLogDao.findPage(page,filters);
    }
}
